<?php /* Smarty version Smarty-3.1.14, created on 2017-08-17 10:26:56
         compiled from "E:\phpStudy\WWW\zyshop\admin\templates\ads_position.html" */ ?>
<?php /*%%SmartyHeaderCode:4955994fef03ba7e7-31003203%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '160479c7685c0207e9a4ba4b5548f2325016792e' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\zyshop\\admin\\templates\\ads_position.html',
      1 => 1502701265,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4955994fef03ba7e7-31003203',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ad_posinfo' => 0,
    'list' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_5994fef03ebb59_15882338',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5994fef03ebb59_15882338')) {function content_5994fef03ebb59_15882338($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<style>
    table{text-align:center;}
  th{text-align:center; font-weight: bolder;background-color: #e5f6fe;}
.firtd {	width: 100px;	padding-right: 10px;	text-align: right;}
input {	width: 350px;}
textarea {	width: 350px;	height: 100px;}
</style>
<body>
<div class="fixed-bar">
  <div class="item-title">
    <h3>广告位置</h3>
    <div style="background:rgba(251,112,45,1);width:125px;height:40px;float:right;text-align:center;border-radius:5px;">
      <a href="ads.php?act=ads_add">
        <h5 style="padding:10px;color:#fff;">
          添加广告位
        </h5>
      </a>
    </div>
  </div>
</div>
<div class="fixed_bottom">
  <form method="post" action="" id="aspnetForm" name="form1">
    <table align="center;" class="table tb-type2">
      <thead>
        <tr>
          <th width="50"><a href="">编号</a></th>
          <th><a href="">广告位名称</a></th>
          <th><a href="">位置宽度</a></th>
          <th><a href="">位置高度</a></th>
          <th><a href="">广告位描述</a></th>
          <th><a href="">操作</a></th>
        </tr>
      </thead>
      <tbody>
        <?php  $_smarty_tpl->tpl_vars['list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['list']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ad_posinfo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['list']->key => $_smarty_tpl->tpl_vars['list']->value){
$_smarty_tpl->tpl_vars['list']->_loop = true;
?>
            <tr>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['position_id'];?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['position_name'];?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['ad_width'];?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['ad_height'];?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['position_desc'];?>
</td>
              <td>
                <a href="ads.php?act=ads_list&position_id=<?php echo $_smarty_tpl->tpl_vars['list']->value['position_id'];?>
">查看</a>
                <a href="ads.php?act=ads_posiedit&position_id=<?php echo $_smarty_tpl->tpl_vars['list']->value['position_id'];?>
">编辑</a>
                <a href="ads.php?act=ads_del&position_id=<?php echo $_smarty_tpl->tpl_vars['list']->value['position_id'];?>
">删除</a>
              </td>
            </tr>
        <?php } ?>
      </tbody>
    </table>
  </form>
</div>
</body>
</html><?php }} ?>